<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
    <head>
        <title>Fixed Navigation - Codrops</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8"/>
        <script type="text/javascript" src="jquery-1.3.2.js"></script>
    </head>
	<style>
	ul#navigation {
    position: fixed;
    margin: 0px;
    padding: 0px;
	bottom:0;
    left: 10px;
    list-style: none;
    z-index:9999;
}
ul#navigation li {
    height: 80px;
	display: inline-block;
}
ul#navigation li span {
    display: block;
    margin-left: -2px;
    width: 100px;
    height: 80px;    
    background-color:#CFCFCF;
    background-repeat:no-repeat;
    background-position:center center;
    border:1px solid #AFAFAF;
    -moz-border-radius:0px 10px 10px 0px;
    -webkit-border-bottom-right-radius: 10px;
    -webkit-border-top-right-radius: 10px;
    -khtml-border-bottom-right-radius: 10px;
    -khtml-border-top-right-radius: 10px;
    /*-moz-box-shadow: 0px 4px 3px #000;
    -webkit-box-shadow: 0px 4px 3px #000;
    */
    opacity: 0.6;
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=60);
}
ul#navigation .home a{
    background-image: url(../images/home.png);
}
ul#navigation .about a      {
    background-image: url(../images/id_card.png);
}
ul#navigation .search a      {
    background-image: url(../images/search.png);
}
ul#navigation .podcasts a      {
    background-image: url(../images/ipod.png);
}
ul#navigation .rssfeed a   {
    background-image: url(../images/rss.png);
}
ul#navigation .photos a     {
    background-image: url(../images/camera.png);
}
ul#navigation .contact a    {
    background-image: url(../images/mail.png);
}

	</style>
    <body>

        <ul id="navigation">
            <li class="home"><span ></span></li>
            <li class="about"><span ></span></li>
            <li class="search"><span ></span></li>
            <li class="photos"><span ></span></li>
            <li class="rssfeed"><span ></span></li>
            <li class="podcasts"><span ></span></li>
            <li class="contact"><span ></span></li>
        </ul>



        <script type="text/javascript">
            $(function() {
                $('#navigation span').stop().animate({'marginTop':'-2px'},1000);

                $('#navigation > li').hover(
                    function () {
                        $('span',$(this)).stop().animate({'marginTop':'-85px'},200);
                    },
                    function () {
                        $('span',$(this)).stop().animate({'marginTop':'-2px'},200);
                    }
                );
            });
        </script>
    </body>
</html>